Kjartan Maraas [Sun, 11 Oct 2009 10:36:48 +0000 (12:36 +0200)]
Updated Norwegian bokmål translation
Eitan Isaacson [Tue, 6 Oct 2009 19:28:23 +0000 (12:28 -0700)]
Explicitly set the accessible name of GtkToolButton.
GAIL is not able to retrieve the correct button name alone, so it must be set in gtktoolbutton.c
https://bugzilla.gnome.org/show_bug.cgi?id=597596
Michael Natterer [Sat, 10 Oct 2009 16:26:07 +0000 (18:26 +0200)]
Revert "Remove deprecated GtkContainer function and macros"
This reverts commit
0e3a46915eabaf1bb8fd0559616c0cec92025678.
Javier Jardón [Thu, 8 Oct 2009 15:54:55 +0000 (17:54 +0200)]
Remove deprecated GtkContainer function and macros
Branko Kokanović [Fri, 9 Oct 2009 20:12:26 +0000 (20:12 +0000)]
Updated Serbian translation
Tor Lillqvist [Thu, 8 Oct 2009 12:40:45 +0000 (15:40 +0300)]
Create and install gtk-update-icon-cache.exe.manifest to avoid UAC
Tor Lillqvist [Fri, 9 Oct 2009 11:32:11 +0000 (14:32 +0300)]
Don't include gdkwin32.h when testing Objective-C++
Fixes bug #594644. If somebody actually some day needs to include
gdkwin32.h from an Objective-C++ program something needs to be done.
Matthias Clasen [Fri, 9 Oct 2009 05:08:54 +0000 (07:08 +0200)]
Make selecting the last character work again
This broke when I added link support. git bisect helped to track it
down.
Matej Urbančič [Thu, 8 Oct 2009 12:20:59 +0000 (14:20 +0200)]
Updated Slovenian translation
Timo Jyrinki [Thu, 8 Oct 2009 09:50:35 +0000 (12:50 +0300)]
Updated Finnish translation by Jiri Grönroos.
Tor Lillqvist [Thu, 8 Oct 2009 07:54:22 +0000 (10:54 +0300)]
Fix the GDI+ gdk-pixbuf loader
Should fix bug #552678. Patch by Dominic Lachowicz, based on a clueful
response from Jason Copenhaver on Albeto Ruiz's blog
http://aruiz.typepad.com/siliconisland/2009/08/dear-lazyweb-gtk-need-gdi-help.html
André Gondim [Wed, 7 Oct 2009 10:20:26 +0000 (07:20 -0300)]
Updated Brazilian Portuguese translation.
Reviewed by Rodrigo Flores <mail@rodrigoflores.org>.
Alexander Shopov [Wed, 7 Oct 2009 04:44:35 +0000 (07:44 +0300)]
Updated Bulgarian translation
Tor Lillqvist [Tue, 6 Oct 2009 11:53:22 +0000 (14:53 +0300)]
Don't ignore SIGPIPE unless it exists
Manoj Kumar Giri [Tue, 6 Oct 2009 05:57:46 +0000 (11:27 +0530)]
Updated Oriya Translation
Matthias Clasen [Mon, 5 Oct 2009 21:44:25 +0000 (17:44 -0400)]
Bump version
Matthias Clasen [Mon, 5 Oct 2009 21:42:00 +0000 (17:42 -0400)]
2.18.2
Matthias Clasen [Mon, 5 Oct 2009 20:43:37 +0000 (16:43 -0400)]
Updates
Alexander Larsson [Mon, 5 Oct 2009 20:07:06 +0000 (22:07 +0200)]
Don't request window sizes with zero width or height
Zero width/height is unsupported and will magically be turned into one.
For instance, gtk_widget_size_allocate() will eventually do this magic
on the value stored in widget->allocation.
However, if we don't do this magic conversion early, then the value
returned from gtk_window_compute_configure_request() will not be
comparable with whats stored in widget->allocation. (I.E. they will
differ if width or height are zero).
This is dangerous, as we do such a comparison in gtk_window_move_resize().
Currently a change from e.g. 10x1 (current allocation) to 10x0 (new size)
will be expected to produce a ConfigureNotify, when it actually won't,
thus never thawing the frozen toplevel.
Fixes bug #588059
Alexander Larsson [Mon, 5 Oct 2009 09:39:29 +0000 (11:39 +0200)]
Fix up _gdk_windowing_window_at_pointer coordinate reporting
We need to do a final XQueryWindow to get the coordinates inside the
windows rather than in the parent window.
This fixes bug #597386, "Cannot click buttons more than once...", which
failed due to the grab tracking stuff getting the wrong coordinates as
per the above.
Matthias Clasen [Mon, 5 Oct 2009 02:35:12 +0000 (22:35 -0400)]
Plug a memory leak
Valgrind reported a leak of regions from gdk_window_process_updates_internal.
Takayuki KUSANO [Sat, 3 Oct 2009 09:34:58 +0000 (18:34 +0900)]
Updated Japanese translation
Luca Ferretti [Sat, 3 Oct 2009 07:20:44 +0000 (09:20 +0200)]
Updated Italian translation
Sebastian Dröge [Fri, 2 Oct 2009 05:39:34 +0000 (07:39 +0200)]
Bug 596959 - DirectFB backend compilation broken with changes from 2.18.0 to 2.18.1
Fix compilation of the DirectFB backend after internal API changes of GDK.
Pascal Terjan [Thu, 1 Oct 2009 15:47:22 +0000 (17:47 +0200)]
Call XReconfigureWMWindow with proper screen
Thanks gcc :
gdkwindow-x11.c:1731: warning: passing argument 3 of
'XReconfigureWMWindow' makes integer from pointer without a cast
/usr/include/X11/Xlib.h:1871: note: expected 'int' but argument is of
type 'struct GdkScreen *'
Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
Matthias Clasen [Thu, 1 Oct 2009 15:41:17 +0000 (11:41 -0400)]
Move SIGPIPE suppression to gtk_init and document it
Some people were unhappy with doing it deep inside the lpr print
backend at an unpredictable time, and SIGPIPE is almost never
wanted anyway.
Miloš Popović [Thu, 1 Oct 2009 01:23:06 +0000 (01:23 +0000)]
Updated Serbian translation
Matthias Clasen [Wed, 30 Sep 2009 22:02:46 +0000 (18:02 -0400)]
Bump version
Matthias Clasen [Wed, 30 Sep 2009 22:00:21 +0000 (18:00 -0400)]
2.18.1
Matthias Clasen [Wed, 30 Sep 2009 20:28:02 +0000 (16:28 -0400)]
Updates
Petr Kovar [Wed, 30 Sep 2009 19:23:10 +0000 (21:23 +0200)]
Updated Czech translation
Adrian Johnson [Wed, 30 Sep 2009 16:47:55 +0000 (12:47 -0400)]
Correct the orientation of landscape pages
The convention for landscape pages, and required by PostScript
Language Reference Manual, is for landscape printing to rotate user
space 90 degrees counterclockwise. Part of bug 596423
Adrian Johnson [Wed, 30 Sep 2009 16:46:58 +0000 (12:46 -0400)]
Emit PageOrientation DSC comment into PostScript print output
The PageOrientation DSC comment tells PostScript viewers such as gv or
evince the orientation to use when displaying the page. Part of bug 596423
Marek Kasik [Wed, 30 Sep 2009 16:40:11 +0000 (12:40 -0400)]
Speed up printer listing in the print dialog
Use shorter timeout for connection testing to avoid A 3-6 second
delay before the printers appear. Bug 594643
Gabor Kelemen [Wed, 30 Sep 2009 14:49:55 +0000 (16:49 +0200)]
Updated Hungarian translation
Kristian Rietveld [Wed, 30 Sep 2009 13:07:37 +0000 (15:07 +0200)]
Bug 588449 - DnD doesn't work on GDK/Quartz
Patch from Paul Davis. This gets the basics of drag and drop properly
working on Mac OS X.
Christian Dywan [Wed, 30 Sep 2009 12:45:30 +0000 (08:45 -0400)]
Add a note about tooltip theming
This should help to reduce the amount of confusion about how to
make a tooltip window appear like a tooltip. Bug 596080.
Kristian Rietveld [Wed, 30 Sep 2009 11:09:22 +0000 (13:09 +0200)]
Fix compile warning in defaultvalue test
Kristian Rietveld [Wed, 30 Sep 2009 11:05:33 +0000 (13:05 +0200)]
Ignore certain GtkSettings in defaultvalues unit test
Like the other GtkSettings already registered, these are influenced from
the outside and cannot be properly tested. The defaultvalues test
passes again now.
Kristian Rietveld [Wed, 30 Sep 2009 11:00:28 +0000 (13:00 +0200)]
Use boxed accessors for setting and retrieving cursor property
Kristian Rietveld [Wed, 30 Sep 2009 08:19:07 +0000 (10:19 +0200)]
Bug 596580 - Blank rows in entry autocompletion
gtk_tree_model_build_level() always needs to emit row-inserted when
requested, this should not depend on whether the level has a parent
level or a virtual root, which is a check whether or not we need to
reference the node in the child model. Furthermore, we also need
to emit row-has-child-toggled after row-inserted when appropriate.
When gtk_tree_model_filter_row_changed() pulls in the root level, it
must request build_level() to emit signals for this. The refilter
function uses row_changed to process the changes, so build_level() in
the first call to row_changed() might pull in multiple new nodes in this
scenario, for all of these signals need to be emitted. Of course,
build_level() will then also emit the signals for the node row_changed()
is processing, we should not emit a duplicate signal, this is now
accounted for.
Add a unit test for this. For this small functionality to block the
row-changed signal has been implemented, so that we can simulate calls
to the refilter function using the current visible column setup.
Kristian Rietveld [Tue, 29 Sep 2009 15:12:37 +0000 (17:12 +0200)]
Pretty print non-matching signals in filter model test suite
Daniel Nylander [Wed, 30 Sep 2009 07:58:00 +0000 (09:58 +0200)]
Updated Swedish translation
Thomas Jaeger [Tue, 29 Sep 2009 06:23:25 +0000 (02:23 -0400)]
Interpret min_value == max_value correctly
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Thomas Jaeger [Tue, 29 Sep 2009 06:20:40 +0000 (02:20 -0400)]
Select for DeviceStateNotify
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 15:57:50 +0000 (11:57 -0400)]
Keep track of axis values
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Jürg Billeter [Wed, 30 Sep 2009 04:43:51 +0000 (00:43 -0400)]
Support tracker 0.7
Make GtkSearchEngineTracker work with libtracker 0.6 and 0.7.
See bug 596081.
Xan Lopez [Wed, 30 Sep 2009 03:45:03 +0000 (23:45 -0400)]
Update last_window only when needed
_gtk_tooltip_handle_event, which is called for many events in the GTK+
main loop, calls gtk_tooltip_set_last_window, which keeps a weak
reference to the last window we passed through. If the window being
set is the same than the last one there's really no need to update our
weak reference, so add a check for that and exit early.
Thomas Jaeger [Tue, 29 Sep 2009 06:14:12 +0000 (02:14 -0400)]
Filter out events that the current window didn't select for
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 06:12:27 +0000 (02:12 -0400)]
Always select all XInput motion events
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 05:56:59 +0000 (01:56 -0400)]
Report XInput button motion events until all buttons are released.
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 05:51:44 +0000 (01:51 -0400)]
XInput allows up to 255 buttons
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 05:48:59 +0000 (01:48 -0400)]
Refactor _gdk_input_other_event
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=588649
Thomas Jaeger [Tue, 29 Sep 2009 00:21:33 +0000 (20:21 -0400)]
Use strstr instead of g_strrstr.
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Alexander Larsson [Tue, 29 Sep 2009 10:56:57 +0000 (12:56 +0200)]
Only select for button and pointer event on toplevels
These event types propagate up the hierarchy anyway, so this means
we avoid setting it unnecessarily. This is especially important
for button press event, since only one client can select for this
on each window, causing X errors if two clients do it.
Claude Paroz [Tue, 29 Sep 2009 10:03:40 +0000 (12:03 +0200)]
Updated French translation
Amitakhya Phukan [Tue, 29 Sep 2009 05:49:07 +0000 (11:19 +0530)]
Updating corrected Assamese translations.
Matthias Clasen [Mon, 28 Sep 2009 16:41:29 +0000 (12:41 -0400)]
Always initialize out params
This was causing a crash in the appearance capplet, reported in
bug 596345.
Thomas Jaeger [Mon, 28 Sep 2009 05:39:42 +0000 (01:39 -0400)]
Improve detection of input device source type
This detection code is not 100% reliable, but it should fare much better
than the current code, which just compares the device name to a fixed
set of strings. Many applications depend on erasers being recognized
reliably, so we start by checking for a device name containing the
substring 'eraser'.
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Alexander Larsson [Mon, 28 Sep 2009 13:29:37 +0000 (15:29 +0200)]
Sent button events don't cause passive grabs
Don't track sent button events as causing or removing
passive grabs.
Alexander Larsson [Mon, 28 Sep 2009 13:26:19 +0000 (15:26 +0200)]
Remove unused grab_one_pointer_release_event var
We don't use this anymore, so just remove.
Alexander Larsson [Mon, 28 Sep 2009 13:21:54 +0000 (15:21 +0200)]
Extend _gdk_windowing_window_at_pointer to be able to get toplevels only
This has two advantages:
1) In many backends, this is faster as we can terminate the window
hierarchy traversal earlier
2) When used in gdkdisplay.c::get_current_toplevel() to get the
current toplevel that has the pointer we now correctly return
a toplevel with the pointer in it where the pointer is inside
some foreign subwindow of a toplevel window.
The second advantage fixes some bugs in client side event generation
when the pointer is inside such a foreign child window.
Cody Russell [Sun, 27 Sep 2009 19:37:19 +0000 (14:37 -0500)]
Bug 596494 - New property "cursor" in 2.18's GdkWindow with wrong type?
Use a boxed paramspec with GDK_TYPE_CURSOR instead of a pointer paramspec.
Kristian Rietveld [Sun, 27 Sep 2009 11:43:35 +0000 (13:43 +0200)]
Remove unused variable
Kristian Rietveld [Sun, 27 Sep 2009 11:36:08 +0000 (13:36 +0200)]
Bug 596012 - popup menu position is horribly off on gdk quartz with ...
Based on first patches by Christian Hergert. Change
screen_get_monitor_geometry() so that it translates the layout of the screens
from Cocoa layout to GDK layout. In Cocoa, the screen locations
are specified in Cocoa geometry, as well as that GDK uses a different way
to place individual monitors in the root window. For now only monitors
that are laid out horizontally are supported (see the FIXMEs in the source),
in bug 596238 we will track future work to get things fully right.
Modify _gdk_quartz_window_get_inverted_screen_y() to take the differences
in screen layout between Cocoa and GDK into account. Also this function
is subject to future work.
Matthias Clasen [Sun, 27 Sep 2009 04:14:54 +0000 (00:14 -0400)]
Handle child widgets correctly with multiple views
This was broken by an RTL fix in April.
Christian Hergert [Fri, 25 Sep 2009 19:52:13 +0000 (21:52 +0200)]
Bug 517394 - Native resize grip steals button release ...
Explicitly handle resizing by leaving all events in the lower right 15x15
corner to Cocoa, if the window shows a resizing indicator. Some
applications may have widgets allocated in this area. Generally, these
widgets are likely larger than 15x15 so they can still be hit. Often
scroll bars are found in this area and these can also be manipulated by
other means. Since this is the only way of resizing windows on Mac OS X,
it is too important to keep it broken.
Kristian Rietveld [Fri, 25 Sep 2009 16:16:06 +0000 (18:16 +0200)]
Bug 596250 - Gdkcursor-quartz.c doesn't implement GDK_BLANK_CURSOR
Support GDK_BLANK_CURSOR. Patch by John Ralls.
Kristian Rietveld [Fri, 25 Sep 2009 15:23:54 +0000 (17:23 +0200)]
Send a motion-notify when a (new) main window became active
This motion-notify even will make sure that things like highlights are
set up correctly now that the window has become active.
Alexander Larsson [Fri, 25 Sep 2009 09:28:26 +0000 (11:28 +0200)]
On pointer grab request native events needed for event emulation
When we grab the pointer we need to request more events than what is
specified, otherwise our event emulation stop working and you won't
e.g. get crossing event unless you specified motion event mask.
Jorge González [Fri, 25 Sep 2009 06:16:56 +0000 (08:16 +0200)]
Updated Spanish translation
Ivar Smolin [Fri, 25 Sep 2009 04:23:11 +0000 (07:23 +0300)]
Updating Estonian translation
Mario Blättermann [Thu, 24 Sep 2009 17:41:16 +0000 (19:41 +0200)]
Updated German translation
Alexander Larsson [Thu, 24 Sep 2009 14:42:52 +0000 (16:42 +0200)]
Send expose events on foreign windows
F-Spot needs this as it draws on a foreign (screensaver) window, which
used to work.
I believe this is safe, because in all typical cases the expose
mask will not be set, so we won't do anything, and its what we used to
do.
Antón Méixome [Thu, 24 Sep 2009 13:44:12 +0000 (15:44 +0200)]
Updated Galician Translation
Marek Kasik [Thu, 24 Sep 2009 13:34:56 +0000 (15:34 +0200)]
Add support for 'auth-info' attribute to the CUPS backend
Check for 'auth-info-required' attribute from printer attributes to
find out whether an authentization of user is needed.
Change password dialog of print backend to be able to require informations
requested thru 'auth-info-required' (#566522).
Matej Urbančič [Thu, 24 Sep 2009 10:41:34 +0000 (12:41 +0200)]
Updated Slovenian translation
Ivar Smolin [Thu, 24 Sep 2009 10:28:31 +0000 (13:28 +0300)]
Updating Estonian translation
Gabor Kelemen [Thu, 24 Sep 2009 10:26:34 +0000 (12:26 +0200)]
Updated Hungarian translation
Jorge González [Thu, 24 Sep 2009 08:23:00 +0000 (10:23 +0200)]
Updated Spanish translation
Philip Withnall [Wed, 23 Sep 2009 22:12:50 +0000 (23:12 +0100)]
Updated British English translation
Philip Withnall [Wed, 23 Sep 2009 21:03:05 +0000 (22:03 +0100)]
Updated British English translation
Daniel Nylander [Wed, 23 Sep 2009 20:15:34 +0000 (22:15 +0200)]
Updated Swedish translation
Mario Blättermann [Wed, 23 Sep 2009 19:39:40 +0000 (21:39 +0200)]
Updated German translation
Claude Paroz [Wed, 23 Sep 2009 19:01:38 +0000 (21:01 +0200)]
Updated French translation
Marek Kasik [Wed, 23 Sep 2009 12:35:26 +0000 (14:35 +0200)]
Don't hang print dialog when remote CUPS printer is not available
This patch tests availability of remote host before getting ppd file
for selected printer (#586207). It also adds a state message for
failure of getting details.
Matthias Clasen [Wed, 23 Sep 2009 04:08:43 +0000 (00:08 -0400)]
Bump version
Matthias Clasen [Wed, 23 Sep 2009 04:02:47 +0000 (00:02 -0400)]
2.18.0
Matthias Clasen [Wed, 23 Sep 2009 02:19:06 +0000 (22:19 -0400)]
Updates
Matthias Clasen [Wed, 23 Sep 2009 01:00:54 +0000 (21:00 -0400)]
Bump version to 2.18.0
andreas [Tue, 22 Sep 2009 23:11:22 +0000 (20:11 -0300)]
Updated Afrikaans translation
David Planella [Tue, 22 Sep 2009 18:08:40 +0000 (20:08 +0200)]
Updated Catalan translation
Rajesh Ranjan [Tue, 22 Sep 2009 10:00:33 +0000 (15:30 +0530)]
hindi update
Mart Raudsepp [Thu, 17 Sep 2009 06:07:03 +0000 (09:07 +0300)]
Fix more GtkEntry Since tags.
progress-border and invisible-char style properties had wrong amount
of colons for gtk-doc (signal markup instead of properties), so the
Since tags didn't seem to get picked up.
GtkEntry:invisible-char also had a wrong Since: 2.22, fixed to 2.18.
Mart Raudsepp [Thu, 17 Sep 2009 05:49:01 +0000 (08:49 +0300)]
Add missing Since: 2.16 for gtk_entry_[set/get]_icon_drag_source
Mart Raudsepp [Thu, 17 Sep 2009 04:51:43 +0000 (07:51 +0300)]
Fix a typo
previe => preview
Mart Raudsepp [Wed, 16 Sep 2009 13:17:05 +0000 (16:17 +0300)]
GtkImage docs: Fix typo - widgte => widget
Mart Raudsepp [Wed, 16 Sep 2009 05:53:22 +0000 (08:53 +0300)]
Pack the struct better, should save four bytes per GtkIconView
Luca Ferretti [Mon, 21 Sep 2009 20:43:03 +0000 (22:43 +0200)]
Updated Italian translation
Kristian Rietveld [Sun, 20 Sep 2009 13:27:14 +0000 (15:27 +0200)]
Bug 550939 - GtkFileChooser listbox does not refresh selection
Make the quartz backend support the new queued translations. We do this
by keeping our own copy of the region that has been set to need display.
Using this region we can intersect by the given area, translate this and also
set needs display for the resulting area.